if (global_opts.smart_names &&
wpt->gc_data.diff && wpt->gc_data.terr) {
+#if 0
+xasprintf(&src, "%s %s", &wpt->shortname[2], src);
+#endif
snprintf(obuf, sizeof(obuf), "%s%d/%d %s",
get_gc_info(wpt),
wpt->gc_data.diff, wpt->gc_data.terr,
* ....
* { -2, 8192, "Custom 511" },
*/
-#if 0
+#if 1
/* Since Garmin is busily adding icons to new units, we have to hide
* these so we can pass them through to the new entries. 6/2/07 robertl
*/
default:
break;
}
+
switch (waypointp->gc_data.container) {
case gc_micro:
return "Micro-Cache";
default:
break;
}
+
+ if (waypointp->gc_data.diff > 1) {
+ return "Geocache";
+ }
+
return NULL;
}